package com.todod.entity;

import java.util.List;

import com.todod.model.RoleAuthority;

public class ResData {

	private Long id;
	private String code;
	private String name;
	private String usercode;
	private List<ResData> product;
	private List<ResData> authority;

	private List<Long> menuIds;
	private List<Long> itemIds;
	private List<Long> itemUserIds;
	private Long roleId;

	private List<RoleAuthority> roleAuthoritys;
	private List<Long> projectIds;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUsercode() {
		return usercode;
	}

	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}

	public List<ResData> getProduct() {
		return product;
	}

	public void setProduct(List<ResData> product) {
		this.product = product;
	}

	public List<ResData> getAuthority() {
		return authority;
	}

	public void setAuthority(List<ResData> authority) {
		this.authority = authority;
	}

	public List<Long> getMenuIds() {
		return menuIds;
	}

	public void setMenuIds(List<Long> menuIds) {
		this.menuIds = menuIds;
	}

	public List<Long> getItemIds() {
		return itemIds;
	}

	public void setItemIds(List<Long> itemIds) {
		this.itemIds = itemIds;
	}

	public List<Long> getItemUserIds() {
		return itemUserIds;
	}

	public void setItemUserIds(List<Long> itemUserIds) {
		this.itemUserIds = itemUserIds;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public List<RoleAuthority> getRoleAuthoritys() {
		return roleAuthoritys;
	}

	public void setRoleAuthoritys(List<RoleAuthority> roleAuthoritys) {
		this.roleAuthoritys = roleAuthoritys;
	}

	public List<Long> getProjectIds() {
		return projectIds;
	}

	public void setProjectIds(List<Long> projectIds) {
		this.projectIds = projectIds;
	}

	@Override
	public String toString() {
		return "ResData [id=" + id + ", code=" + code + ", name=" + name + ", usercode=" + usercode + ", product="
				+ product + ", authority=" + authority + ", menuIds=" + menuIds + ", itemIds=" + itemIds
				+ ", itemUserIds=" + itemUserIds + ", roleId=" + roleId + ", roleAuthoritys=" + roleAuthoritys
				+ ", projectIds=" + projectIds + "]";
	}

}
